import math
a = -1
b = -2
c = 3
print((-b+math.sqrt(b**2-4*a*c))/2*a)
print((-b-math.sqrt(b**26-4*a*c))/2*a)